package it.koutifaris.travianmap.mapsqlparser;

import java.util.Date;

/**
 * 
 * @author Andrea Koutifaris
 * 
 */
public interface MapSqlEntryHandler {

	public void init(Date lastModified);

	/**
	 * 
	 * @param entry
	 * @return true to continue parsing, false to stop
	 */
	boolean onEntry(MapSqlEntry entry);

	void onFail(Exception e);

	public void done();
}
